package org.shj.spark.datagen

import java.io.FileOutputStream
import java.io.BufferedOutputStream

object Test {
  def main(args: Array[String]): Unit = {
    val out = new BufferedOutputStream(new FileOutputStream("F:/download/testwordcnt.log"))
    
    val str = ("I love you I like you I hate her\n").getBytes
    var recordNum = 5000000L
    while(recordNum > 0){
		  out.write(str)
		  recordNum -= 1
		}
		
		out.close()
  }
}